#define _CRT_SECURE_NO_WARNINGS
#include"SeqList.h"
void TestSeqList()
{
	SL sl;
	SLInit(&sl);
	SLPushBack(&sl, 1);
	SLPushBack(&sl, 2);
	SLPushBack(&sl, 3);
	SLPushBack(&sl, 4);
	SLPushBack(&sl, 5);
	SLPushFront(&sl, 0);
	SLInsert(&sl, 2, 9);
	SLErase(&sl, 2);
	int pos = SLFind(&sl, 5);
	if (pos != -1)
		SLErase(&sl, pos);
	SLPrint(&sl);
	SLDestroy(&sl);
}
int main()
{

	TestSeqList();
	return 0;
}